//Admin klasse
public class Admin {
		//Definition af de to konstante variable Administratoren har
		private String admin = "88888888";
		private String password = "1234abcd";
		
		//getAdmin metode
		public String getAdmin(){
			return admin;
		}//end getAdmin metode
		
		//getPassword metode
		public String getPassword(){
			return password;
		}//end getPassword metode
		
		//authenciateAdmin metode
		public boolean authenticateAdmin(String number, String password){
			if(number.equals(admin)){//sammenligner nummer
				if( password.equals(this.password)){//sammenligner password med det opgivne
					return true;
				}//end if password
			}//end if number
			return false;
		}//end AuthenticateAdmin
}//end Admin klasse
